<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<%@ include file='../share_header.jsp' %>
<div id="content-header">
    <h1>用户管理</h1>
</div>
<%--<div id="breadcrumb">--%>
<%--&lt;%&ndash;<a href="index.html" class="tip-bottom" data-original-title="Go to Home"><i class="icon-home"></i> Home</a>&ndash;%&gt;--%>
<%--<a href="javascript:void(0)"--%>
<%--url="${pageContext.request.contextPath}/crm/getMyselfClientInfo.do"  class="m-pageChange tip-bottom">权限管理</a>--%>
<%--<a href="#" class="current">用户管理</a>--%>
<%--</div>--%>
<div class="container-fluid marginTop20">
    <div class="row-fluid topCircleBorder paddingTop10 paddingBottom10 marginBottom5">
        <div style="float: left">
            <div class="field">
                <label for="userName" class="control-label">用户名称</label>
                <input class="text" type="text" id="userName"/>
            </div>
        </div>
        <div class="" style="float: left;margin-left: 28px">
            <button id="searchUserName" class="btn btn-primary">查询</button>
        </div>
    </div>
    <%--</form>--%>
    <div class="row-fluid">
        <table id="userManageTable">
        </table>
    </div>

    <!-- Modal -->
    <div id="userAuthModal" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"
         aria-hidden="true">
        <div class="modal-header">
            <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
            <h3 id="myModalLabel">用户角色授权</h3>
        </div>
        <div class="modal-body">
            <div class="form-group formLayOut modifyPadding">
                <div class="field">
                    <span>用户ID:&nbsp;</span>
                    <span class="fireText" id="userIdDisabled"/>
                    <span>&nbsp;&nbsp;</span>
                </div>
            </div>
            <div class="form-group formLayOut modifyPadding">
                <div class="field">
                    <span>用户名称:&nbsp;</span>
                    <span class="fireText" id="userNameDisabled"/>
                    <span>&nbsp;&nbsp;</span>
                </div>
            </div>
            <table id="userAuthorizationTable">
            </table>
        </div>
        <div class="modal-footer">
            <button class="btn" data-dismiss="modal" aria-hidden="true">关闭</button>
            <button id="userAuthSaveBtn" type="button" class="btn btn-primary">提交</button>
        </div>
    </div>
</div>
<script src="${pageContext.request.contextPath}/resources/js/permission/userManage.js"></script>
<script>
    $(function () {
        //页面数据初始化
        gotoPage(1);
    });
</script>